API Documentation
Public Member Functions | Public Attributes | List of all members
nkGraphics::DecodedMeshData Class Reference

Holds data about a decoded mesh. More...

Public Member Functions

 DecodedMeshData ()
 
 DecodedMeshData (DecodedMeshData &&other)
 
 ~DecodedMeshData ()
 

Public Attributes

nkMemory::BufferCast< nkMemory::Buffer_vertexBuffers
 List of vertex buffers, binary packed.
 
nkMemory::Buffer _indexBuffer
 The index buffer, if available.
 
MeshInputLayout _inputLayout
 The input layout describing the vertex data.
 
unsigned int _vertexCount
 The number of vertices available.
 
unsigned int _indexCount
 The number of indices available.
 
INDEX_FORMAT _indexFormat
 The indices format in memory.
 

Detailed Description

Holds data about a decoded mesh.

Constructor & Destructor Documentation

◆ DecodedMeshData() [1/2]

nkGraphics::DecodedMeshData::DecodedMeshData ( )

Default constructor. Defaults all structures to empty or 0.

◆ DecodedMeshData() [2/2]

nkGraphics::DecodedMeshData::DecodedMeshData ( DecodedMeshData &&  other)

Move constructor.

Parameters
otherThe data to move over.

◆ ~DecodedMeshData()

nkGraphics::DecodedMeshData::~DecodedMeshData ( )

Destructor.


The documentation for this class was generated from the following file: